containers.<name>.restartIfChanged
Whether the container should be restarted during a NixOS configuration switch if its definition has changed.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/virtualisation/nixos-containers.nix>
Whether the container should be restarted during a NixOS configuration switch if its definition has changed.
booleantrue